package campus.service;

import campus.model.Account;
import campus.model.AccountExample;
import campus.model.AccountSettings;
import campus.util.PageResult;
import campus.util.Result;

import java.util.List;

/**
     * @Author M
     * @name 银行存款接口
     * @Date 21:43 2020/5/10
 **/
public interface AccountSettingsService {

    /**
         * @Author M
         * @name  列表
         * @Date 21:43 2020/5/10
     **/
    List<AccountSettings> selectByExample(AccountExample example);

   /**
        * @Author M
        * @name 银行存款新增
        * @Date 21:43 2020/5/10
    **/
    int insert(AccountSettings accountSettings);

    /**
         * @Author M
         * @name 银行存款主键删除
         * @Date 21:43 2020/5/10
     **/
    int deleteByPrimaryKey(Integer zhId);

    /**
         * @Author M
         * @name 银行存款编辑
         * @Date 21:43 2020/5/10
     **/
    int updateByPrimaryKeySelective(AccountSettings record);

    /**
         * @Author M
         * @name  银行存款分页
         * @Date 21:44 2020/5/10
     **/
    PageResult findByAllPageSize(AccountSettings accountSettings, int pageNum, int pageSize);

    PageResult findByAllPageSize2(AccountSettings accountSettings, int pageNum, int pageSize);
    /**
         * @Author M
         * @name 主键ID
         * @Date 21:45 2020/5/10
     **/
    AccountSettings findByPrimaryKey(Integer zhId);

}
